# Template file for 'stubby'
pkgname=stubby
version=0.2.3
revision=1
build_style=gnu-configure
conf_files="/etc/stubby/stubby.yml"
hostmakedepends="automake"
makedepends="getdns-devel libyaml-devel"
short_desc="DNS Privacy stub resolver"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="BSD-3-Clause"
homepage="https://github.com/getdnsapi/stubby"
distfiles="https://github.com/getdnsapi/stubby/archive/v${version}.tar.gz"
checksum=5fbe10f421f1313b5e2259b0eec96785af0c5b460431cf86bb6450a11cb3f473

pre_configure() {
	autoreconf -fi
}

post_install() {
	rm ${DESTDIR}/etc/stubby/stubby.yml.example

	vlicense COPYING
	vsv stubby
}
