# Contributor: The one with the braid <info@braid.business>
# Maintainer: The one with the braid <info@braid.business>
pkgname=py3-mss
pkgver=10.0.0
pkgrel=0
pkgdesc="Ultra fast cross-platform multiple screenshots module"
url="https://github.com/BoboTiG/python-mss"
arch="all"
license="MIT"
depends="python3 py3-hatchling"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
source="$url/archive/v$pkgver/python-mss-$pkgver.tar.gz"

builddir="$srcdir/python-mss-$pkgver"

options="!check"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	pwd
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
eb12dc5b882a0c23c9b7e91caae3884a1ecedd55466398b11deb98ded0b2c43c8907bccd73f6d455c8133dc058ad130b4748b7c3150bacf900b7cd0e74939cca  python-mss-10.0.0.tar.gz
"
