# Template file for 'nudoku'
pkgname=nudoku
version=8.0.1
revision=1
build_style=gnu-configure
configure_args="--enable-cairo"
hostmakedepends="automake pkg-config gettext-devel"
makedepends="ncurses-devel cairo-devel"
short_desc="Ncurses based sudoku game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://jubalh.github.io/nudoku/"
changelog="https://raw.githubusercontent.com/jubalh/nudoku/refs/heads/master/ChangeLog"
distfiles="https://github.com/jubalh/nudoku/archive/refs/tags/${version}.tar.gz"
checksum=4e8a35950b7b7ce1e49f9457a8aceffbd21fb2b34aa8386847a7a158a2cab551

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
	configure_args+=" --disable-nls"
fi

pre_configure() {
	autoreconf -i
}
