# Build template file for 'vim-x11'.
#
# Source vim template and overwrite some vars, it's stupid
# to duplicate all this stuff again!
#
. ${XBPS_SRCPKGDIR}/vim/template
unset subpackages
pkgname=vim-x11
revision=3
configure_args="${configure_args} --enable-gui=no --with-x"
short_desc="${short_desc} (x11)"
long_desc="${long_desc}

 This packages contains vim-x11, the x11 capable version of vim."

provides="vim-${version}"
replaces="vim>=${version}"

Add_dependency run libXt
Add_dependency run libX11
Add_dependency run libSM
Add_dependency run libICE

Add_dependency build pkg-config
Add_dependency build libXt-devel
Add_dependency build libX11-devel
Add_dependency build libICE-devel

post_install()
{
	rm -rf ${DESTDIR}/usr/share
}
