# Template file for 'python3-PyQt5-networkauth'
pkgname=python3-PyQt5-networkauth
version=5.15.6
revision=1
build_style=sip-build
build_helper="python3"
hostmakedepends="qt5-qmake pkg-config sip python3-PyQt-builder"
makedepends="python3-devel python3-PyQt5-devel qt5-networkauth-devel python3-sip-PyQt5"
depends="python3-PyQt5>=$version python3-sip-PyQt5"
short_desc="Python bindings for the Qt5 Network Authorization library"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/pyqtnetworkauth/"
distfiles="${PYPI_SITE}/P/PyQtNetworkAuth/PyQtNetworkAuth-${version}.tar.gz"
checksum=85ada0c82b9787ffd614abff93bd6d9314d6528265f5f1d23a1922ef0cbeecb9
lib32disabled=yes
CFLAGS=-I$XBPS_CROSS_BASE/usr/include/python$py3_ver
CXXFLAGS="$CFLAGS"

python3-PyQt5-networkauth-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove ${py3_sitelib}/PyQt5/bindings
	}
}
