# Template file for 'python-sqlite'
pkgname=python-sqlite
version=2.8.0
revision=1
wrksrc="pysqlite-${version}"
build_style=python-module
hostmakedepends="python-devel"
makedepends="sqlite-devel ${hostmakedepends}"
pycompile_module="pysqlite2"
replaces="pysqlite>=0"
short_desc="Python2 DB-API 2.0 interface for SQLite databases"
homepage="https://code.google.com/p/pysqlite/"
license="MIT"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://pypi.python.org/packages/source/p/pysqlite/pysqlite-${version}.tar.gz"
checksum=9d87fc5efc61bf790619ff0e398ac3c73411a7ba5bf88802fdeba07229860674

post_install() {
	rm -r ${DESTDIR}/usr/pysqlite*
}
