# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=tinyfugue
pkgver=5.1.4
pkgrel=2
pkgdesc="Powerful curses-based MUD client"
url="https://github.com/ingwarsw/tinyfugue"
arch="all"
options="!check" # no testsuite
license="GPL-2.0-or-later"
makedepends="openssl-dev ncurses-dev pcre-dev icu-dev python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/ingwarsw/tinyfugue/archive/refs/tags/$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-atcp \
		--enable-gmcp \
		--enable-option102 \
		--enable-python
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
5732b3f96bc5e09e1eadd89994a25161d765ecaa0c72e5fd1d546b12028eb873faeb178fefbe3262aa790660a509fbf5de6dc74a50c23040005ab42d4a46ae14  tinyfugue-5.1.4.tar.gz
"
