# Template file for 'netpgpverify'
pkgname=netpgpverify
version=20160615
revision=1
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man"
short_desc="PGP/SSH standalone verification utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://www.netpgp.com"
distfiles="http://www.netpgp.com/src/${pkgname}-${version}.tar.gz"
checksum=fa5b51b8997526cd1bfa9eeec3b08e3141e7c3953a7ea5aeba231aeebcd8ce97

post_extract() {
	sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
	sed '/\*\//q' main.c >LICENSE
	vlicense LICENSE
}
