# Template file for 'tmux'
pkgname=tmux
version=2.0
revision=1
build_pie=yes
build_style=gnu-configure
makedepends="ncurses-devel libevent-devel"
short_desc="Terminal Multiplexer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://tmux.sourceforge.net"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/tmux/${pkgname}-${version}.tar.gz"
checksum=795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362

post_install() {
	vinstall examples/bash_completion_tmux.sh 644 usr/share/bash-completion/completions tmux
	vinstall examples/tmux.vim 644 usr/share/vim/vimfiles/syntax tmux.vim
	for f in examples/{*.conf,tmux_backup.sh,xterm-keys.vim}; do
		vsconf "$f"
	done
}
