# Template file for 'python-audioread'
pkgname=python-audioread
version=2.1.2
revision=1
noarch=yes
wrksrc="audioread-${version}"
build_style="python-module"
hostmakedepends="python-setuptools"
depends="python gst-python"
pycompile_module="audioread"
short_desc="Multi-library, cross-platform audio decoding in Python"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/sampsyo/audioread/"
license="MIT"
distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz"
checksum=c624232c7e9341dd4283fc2777129f522bef3c3350b0e6f02b288799e1cba1af

post_install() {
	sed -n '2,14p' decode.py > LICENSE
	vlicense LICENSE
}
