# Template file for 'angband'
pkgname=angband
version=4.2.5
revision=1
build_style=gnu-configure
configure_args="--enable-sdl2 --enable-sdl2-mixer"
make_check_target="tests"
hostmakedepends="automake"
makedepends="SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel ncurses-devel"
short_desc="Free, single-player dungeon exploration game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://rephial.org/"
changelog="https://rephial.org/release/"
distfiles="https://github.com/angband/angband/archive/refs/tags/${version}.tar.gz"
checksum=2a27ce296310c4cbf960e2eb41ef55d383e546f24533446cf224119498a99651

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
