# Template file for 'inadyn'
pkgname=inadyn
version=2.3.1
revision=2
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="automake libtool pkg-config"
makedepends="confuse-devel libressl-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="https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz"
checksum=81c942db6eab27fa16e868175bdb7aff963eeee06d48bc5443e0dcd6f7c2da40

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

conf_files="/etc/inadyn.conf"

pre_configure() {
	autoreconf -fi
}

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