# Template file for 'cntlm'
pkgname=cntlm
version=0.92.3
revision=3
build_style=gnu-configure
replaces="runit-void<20141013_2"
conf_files="/etc/cntlm.conf"
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="http://cntlm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298

do_build() {
	make CC=$CC ${makejobs}
}
do_install() {
	vbin cntlm
	vman doc/cntlm.1
	vsv cntlm
	if [ "$build_option_systemd" ]; then
		vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
	fi
}