# Template file for 'inadyn'
pkgname=inadyn
version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="automake libtool pkg-config"
makedepends="confuse-devel libressl-devel libite-devel"
short_desc="Small DynDNS client with SSL/TLS support"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://troglobit.com/inadyn.html"
distfiles="ftp://ftp.troglobit.com/inadyn/inadyn-${version}.tar.xz"
checksum=f057e00d2270086682ef6af9419bd9f2b38a943b7d1f67e6c4739f31645fd59a

system_accounts="inadyn"
inadyn_homedir="/run/inadyn"

conf_files="/etc/inadyn.conf"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vconf ${FILESDIR}/inadyn.conf
	vsv inadyn
}
