# Description: GNU Midnight Commander
# URL: https://www.midnight-commander.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: glib

name=mc
version=4.8.31
release=1
source=(https://ftp.osuosl.org/pub/midnightcommander/$name-$version.tar.xz)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--libexecdir=/usr/lib \
		--disable-nls \
		--with-screen=ncurses

	make
	make DESTDIR=$PKG install

	rm $PKG/usr/lib/mc/*/README*
}
