# Maintainer: Miles Alan <m@milesalan.com>
pkgname=mlxl
pkgver=0.1
pkgrel=0
pkgdesc="Mobile Linux X Lock"
url="https://git.sr.ht/~mil/mlxl"
arch="all"
license="GPL-3.0-or-later"
makedepends="libx11-dev"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/mlxl/archive/$pkgver.tar.gz
	flags.patch
	"
# No test suite.
# suid locker
options="suid !check"

build() {
	make
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
b6fc13d8cdcda18206e50c5606932a076ac270bb525da1364c637e6b89be2e62c58e3fe77aaed5e1e3656a991ddb0e6de0be623e70170afac6f264a53398cc1f  mlxl-0.1.tar.gz
01418e757936a1693b42d576d563dffb4fc8751b7d787945feb3cb0c9fdf3056061844841c5a3ed636b075f1c707529d5a17a48071e423c76702d20082d025a9  flags.patch
"
