# Template file for 'mc'
pkgname=mc
version=4.8.33
revision=1
build_style=gnu-configure
configure_args="--with-screen=slang --without-x"
hostmakedepends="perl pkg-config"
makedepends="e2fsprogs-devel gpm-devel libglib-devel libssh2-devel slang-devel"
short_desc="User-friendly file manager and visual shell"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://midnight-commander.org/"
distfiles="https://ftp.osuosl.org/pub/midnightcommander/mc-${version}.tar.xz"
checksum=cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c

conf_files="
 /etc/mc/filehighlight.ini
 /etc/mc/mc.default.keymap
 /etc/mc/mc.emacs.keymap
 /etc/mc/mc.ext.ini
 /etc/mc/mc.keymap
 /etc/mc/mc.menu
 /etc/mc/mcedit.menu
 /etc/mc/sfs.ini"

post_install() {
	vdoc "${FILESDIR}/README.voidlinux"
}
