# Template file for 'cntlm'
pkgname=cntlm
version=0.92.3
revision=2
build_style=gnu-configure
hostmakedepends="which"
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="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%20$version/$pkgname-$version.tar.gz"
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298

do_build() {
	sed -i 's|/sbin|/bin|' Makefile
	make CC=$CC ${makejobs}
}

post_install() {
	vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
}
