PORTNAME=	cardpeek
PORTVERSION=	0.8.4
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://downloads.pannetrat.com/install/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Tool for reading the contents of ISO 7816 smart cards
WWW=		http://pannetrat.com/Cardpeek/

LICENSE=	GPLv3

LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite \
		libcurl.so:ftp/curl
RUN_DEPENDS=	pcscd:devel/pcsc-lite

USES=		gnome iconv localbase lua:52 pkgconfig
USE_GNOME=	gtk30
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share

PLIST_FILES=	bin/cardpeek share/man/man1/cardpeek.1.gz \
		share/appdata/cardpeek.appdata.xml \
		share/applications/cardpeek.desktop \
		share/icons/hicolor/48x48/apps/cardpeek-logo.png
PORTDOCS=	AUTHORS README cardpeek_ref.en.pdf

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>
