# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>

pkgname=python-geoip
pkgver=1.3.2
pkgrel=10
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
arch=('x86_64')
url="https://pypi.python.org/pypi/GeoIP/"
license=('LGPL')
depends=('python' 'geoip')
makedepends=('python' 'geoip')
source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
md5sums=('6d1a82798b9f5f8448fca50296d974ba')

build() {
  cd "GeoIP-$pkgver"
  python setup.py build
}

package_python-geoip() {
  cd "GeoIP-$pkgver"
  python setup.py install --root="$pkgdir" -O1
}

# vim:set ts=2 sw=2 et:
