#Packager: Frédéric Galusik <fredg~AT~salixos~dot~org>

pkgname=python-unidecode
pkgver=0.04.9
pkgrel=1fg
#arch=noarch
source=(http://pypi.python.org/packages/source/U/Unidecode/Unidecode-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/
docs=("changelog" "license" "readme")
url=http://pypi.python.org/pypi/Unidecode

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-unidecode (ASCII transliterations of Unicode text)"
"The module exports a single function that takes an Unicode object "
"(Python 2.x) or string (Python 3.x) and returns a string (that can be "
"encoded to ASCII bytes in Python 3.x)."
)

build() {
	cd $SRC/Unidecode-$pkgver
	python setup.py install --prefix=/usr --root=$PKG
}