# Template file for 'neovim'
pkgname=neovim
version=0.1.2
revision=1
build_style=cmake
configure_args="-DENABLE_JEMALLOC=0 -DLUA_PRG=/usr/bin/lua5.2"
hostmakedepends="cmake lua52-lpeg lua52-MessagePack lua52-BitOp"
makedepends="libtermkey-devel libuv-devel libvterm-devel LuaJIT-devel msgpack-devel"
short_desc="Fork of Vim aiming to improve user experience, plugins and GUIs"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="Apache-2.0, GPL-2"
homepage="http://neovim.io"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=549881465eff82454660ae92d857d6ffa22383d45c94c46f3753fd1b0e699247

alternatives="
 vi:vi:/usr/bin/nvim
 vi:vi.1:/usr/share/man/man1/nvim.1
 vi:view:/usr/bin/nvim
 vi:view.1:/usr/share/man/man1/nvim.1
 vim:vim:/usr/bin/nvim
 vim:vim.1:/usr/share/man/man1/nvim.1"
