# Template file for 'sniproxy'
pkgname=sniproxy
version=0.4.0
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool autoconf pkg-config udns-devel gettext-devel"
makedepends="libev-devel pcre-devel"
short_desc="Proxies incoming HTTP and TLS connections based on the hostname"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/dlundquist/$pkgname"
distfiles="$homepage/archive/$version.tar.gz"
checksum=d842a428480c7cdd7354080869e4ed3c8bb35a6c1b2124ce832378119774e4d8
configure_args="--sbindir=/usr/bin"

pre_configure() {
	autoreconf -fi
}
