app=python-nltk
version=3.6.2
build=1sml
homepage="https://www.nltk.org"
desc="python natural language development toolkit"
requires="python-joblib"

build() {
  mkandenterbuilddir
  rm -rf nltk-$version

  tar xf $srcdir/nltk-$version.tar.?z*
  cd nltk-$version
  fixbuilddirpermissions

  python3 setup.py install --prefix="" --root=$pkg
  cp LICENSE.txt $pkgdocs/

  mkfinalpkg
}

sha512sums="
3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d  nltk-3.6.2.tar.gz
"
