# $OpenBSD$

V =		0.6.0
COMMENT =	tools for using PIV tokens as an SSH agent, encryption, etc.
GH_ACCOUNT =	arekinath
GH_PROJECT =	pivy
GH_TAGNAME =	v${V}
MASTER_SITES =	https://github.com/arekinath/pivy/releases/download/${GH_TAGNAME}/

CATEGORIES =	security

MAINTAINER =	Jonathan Matthew <jmatthew@openbsd.org>

# MPLv2
PERMIT_PACKAGE =	Yes

WANTLIB =		c z crypto pcsclite pthread

LIB_DEPENDS =		security/pcsc-lite
RUN_DEPENDS =		security/ccid

USE_GMAKE =		Yes
CONFIGURE_STYLE =	none

NO_TEST =		Yes

MAKE_ENV =		prefix=${PREFIX}

.include <bsd.port.mk>
