diff --git a/srcpkgs/tab/template b/srcpkgs/tab/template
new file mode 100644
index 00000000000..e4aa1ce90d2
--- /dev/null
+++ b/srcpkgs/tab/template
@@ -0,0 +1,20 @@
+# Template file for 'tab'
+pkgname=tab
+version=4.0
+revision=1
+wrksrc="tkatchev-tab-94c0265aaa8d"
+short_desc="Shell language for text/number manipulation"
+maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
+license="Boost Software License 1.0"
+homepage="http://tkatchev.bitbucket.org/tab/"
+distfiles="https://bitbucket.org/tkatchev/${pkgname}/get/${version}.tar.bz2"
+checksum=bf660c48a8fcabc8b5ecfa4c34c9e4fdd20611413b098a63c63b2a4538371a38
+
+do_build() {
+	${CXX} ${CXXFLAGS} -std=c++11 -Wall -Iaxe *.cc -o tab ${LDFLAGS} -pthread -lm
+}
+
+do_install() {
+	vbin tab
+	vlicense LICENSE.txt LICENSE
+}