app=python-click
version=7.1.2
build=1sml
homepage="https://palletsprojects.com/p/click/"
desc="Python cli interface toolkit"
requires="python-jinja2"

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

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

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

  mkfinalpkg
}

sha512sums="
b9fba8a30f57e380a2005b45c4f37074a27637ace9e16fb0fb0cce88aac72cfa806eea2829dac665fe2b558b8753a40b811dbfcca94dfccf999ad494865d7888  click-7.1.2.tar.gz
"
