# Template file for 'python3-PyAudio'
pkgname=python3-PyAudio
version=0.2.14
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel portaudio-devel"
depends="python3"
short_desc="Python3 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Jatin K Malik <jatinkrmalik@gmail.com>"
license="MIT"
homepage="https://people.csail.mit.edu/hubert/pyaudio/"
distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz"
checksum=78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87

post_install() {
	sed -n '/Copyright/,/SOFTWARE\./p'< README.md > LICENSE
	vlicense LICENSE
}
