# MSYS2 maintainer: matoro <matoro@airmail.cc>
# Arch maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>

pkgname=vifm
pkgver=0.11
pkgrel=1
pkgdesc="Ncurses based file manager with vi like keybindings"
arch=('i686' 'x86_64')
url="https://vifm.info/"
license=('GPL')
depends=('ncurses')
makedepends=('ncurses-devel')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('d06f7e25f1ba0936f27f3d34401cc9eaa50ccc5a5e70ad5659e5014f04691e67')

build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc
   make
}

package() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
}
