text: # Description: CIFS filesystem user-space tools
  # URL:         https://wiki.samba.org/index.php/LinuxCIFS_utils
  # Maintainer:  protonesso, nagakamira at gmail dot com
  # Depends on:  pam keyutils libcap-ng
  # Section:     net
  
  name=cifs-utils
  version=6.11
  release=1
  source=("https://www.samba.org/ftp/linux-cifs/$name/$name-$version.tar.bz2")
  
  build() {
  	cd "$SRC"/$name-$version
  	autoreconf -vif
  	./configure $BUILDFLAGS \
  		--prefix=/usr \
  		--sbindir=/usr/bin \
  		--disable-cifsupcall \
  		--disable-systemd
  	make
  	make DESTDIR="$PKG" install
  
  	mv "$PKG"/sbin/* "$PKG"/usr/bin/
  	rm -rf "$PKG"/sbin
  }
  