# Template file for 'cifs-utils'
pkgname=cifs-utils
version=6.3
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
make_install_args="ROOTSBINDIR=/usr/bin"
hostmakedepends="automake libtool pkg-config libcap-ng-devel"
makedepends="mit-krb5-devel talloc-devel libcap-ng-devel samba-devel>=3.6.15_2 keyutils-devel pam-devel"
short_desc="CIFS filesystem user-space tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils"
distfiles="ftp://ftp.samba.org/pub/linux-cifs/$pkgname/$pkgname-$version.tar.bz2"
checksum=fff73b2a2547628acba05d324cf096e50f13fa8712f01bf0eb0dbabfe268375b

post_install() {
	chmod +s ${DESTDIR}/usr/bin/mount.cifs
	rm -rf ${DESTDIR}/usr/include
}
