# Template file for 'mc'
pkgname=mc
version=4.8.26
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="Lugubris <lugubris@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://midnight-commander.org/"
distfiles="https://www.midnight-commander.org/downloads/mc-${version}.tar.xz"
#distfiles="http://fossies.org/linux/misc/mc-${version}.tar.gz"
checksum=c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27
python_version=2

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