description="Python 3 syntax highlighter"
url="http://pygments.org"

packager="tnut <tnut@nutyx.org>"
contributors="Rems"

makedepends=(python)

name=pygmentize
version=2.4.2
release=2

source=(https://pypi.org/packages/source/P/Pygments/Pygments-${version}.tar.gz)

build() {
    cd Pygments-$version
    python3 setup.py install --root=$PKG -O1
    # Remove everything exept the binary
    find $PKG -type f -not -name pygmentize -delete
}
