PORTNAME=	kickpass
PORTVERSION=	0.2.0
DISTVERSIONPREFIX=	v
PORTREVISION=	4
CATEGORIES=	security

MAINTAINER=	bapt@FreeBSD.org
COMMENT=	Stupid simple password safe
WWW=		https://kickpass.pw/

LICENSE=	MIT

LIB_DEPENDS=	libsodium.so:security/libsodium \
		libevent.so:devel/libevent
BUILD_DEPENDS=	checkmk:devel/check

USES=		cmake xorg
USE_XORG=	x11
# tries to append versioning and does crap if git is present
BINARY_ALIAS=	git=false

PLIST_FILES=	bin/kickpass \
		lib/libkickpass.so \
		lib/libkickpass.so.0 \
		lib/libkickpass.so.0.2.0 \
		share/man/man1/kickpass.1.gz \
		share/zsh/site-functions/_kickpass

USE_GITHUB=	yes
USE_LDCONFIG=	yes

.include <bsd.port.mk>
