pkgname=nmbscan
pkgver=1.2.6
pkgrel=1
pkgdesc="nmbscan scans the shares of a SMB/NetBIOS network, using the NMB/SMB/NetBIOS protocols."
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
url="http://nmbscan.g76r.eu/"
#source=("http://knoppmyth.net/repo/source/nmbscan-1.2.5.tar.gz")
source=("${url}/down.php?file=${pkgname}-${pkgver}.tar.gz")

build() {
  cd ${srcdir}
  make || return 1
}
package() {
  cd ${srcdir}
  mkdir -p ${pkgdir}/usr/bin

  install -D -m755 nmbscan ${pkgdir}/usr/bin/nmbscan
}
md5sums=('18ae53952d074c013994baddeffa2a5d')