# Template file for 'spiped'
pkgname=spiped
version=1.6.0
revision=5
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="The spiped secure pipe daemon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="2-clause-BSD"
homepage="http://www.tarsnap.com/spiped.html"
distfiles="http://www.tarsnap.com/spiped/spiped-${version}.tgz"
checksum=e6f7f8f912172c3ad55638af8346ae7c4ecaa92aed6d3fb60f2bda4359cba1e4

pre_build() {
	export LDADD_EXTRA="$LDFLAGS"
}
do_install() {
	vmkdir usr/bin
	vmkdir usr/share/man/man1
	make BINDIR=${DESTDIR}/usr/bin MAN1DIR=${DESTDIR}/usr/share/man/man1 install
	vlicense COPYRIGHT
}
