diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 356ea406a9..9f9a625b93 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -1,8 +1,9 @@
 # Template file for 'vifm'
 pkgname=vifm
-version=0.7.6
+version=0.7.7
 revision=1
 build_style=gnu-configure
+configure_args="--without-gtk"
 hostmakedepends="pkg-config which"
 makedepends="ncurses-devel desktop-file-utils"
 depends="desktop-file-utils"
@@ -11,4 +12,9 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="GPL-2"
 homepage="http://vifm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
-checksum="861798592d6fccc5d330a66e68f1c5a747732b9df587f15d892c6ff72a04650f"
+checksum=0dc0271c016ab2d2017bc3c2389bd2ab747603f1c05f425a8a181f5cdaacd4d1
+
+post_install() {
+	vinstall data/vim/ftdetect/vifm.vim 644 usr/share/vim/vimfiles/ftdetect
+	vinstall data/vim/syntax/vifm.vim 644 usr/share/vim/vimfiles/syntax
+}