diff --git a/extra/transmission/APKBUILD b/extra/transmission/APKBUILD
index 3a281a64f1b607dfcf33f7dc1ed999b8cf4b7e72..0942c1b2a3f4333952a208762dea010667c14d66 100644
--- a/extra/transmission/APKBUILD
+++ b/extra/transmission/APKBUILD
@@ -7,12 +7,11 @@ url="http://www.tansmissionbt.com"
 install="$pkgname.pre-install"
 license="MIT"
 depends="curl"
-makedepends="openssl-dev pkgconfig curl-dev"
+makedepends="openssl-dev pkgconfig curl-dev g++"
 source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
 	transmission-daemon.initd
 	transmission-daemon.confd
-	$pkgname.pre-install
-	transmission.version.h"
+	$pkgname.pre-install"
 subpackages="$pkgname-doc"
 
 build() {
@@ -30,5 +29,4 @@ build() {
 md5sums="0b0428f4a6237a64dc8b7d378ace3f06  transmission-1.61.tar.bz2
 b3b921242bdc3b33a8ac05fc30653b6c  transmission-daemon.initd
 89478a70fcd93463e1dd8d751da994da  transmission-daemon.confd
-f1c8d94e1f7ff77c23a7e92d3860754d  transmission.pre-install
-878a02377e006200a3b794f170efadfd  transmission.version.h"
+f1c8d94e1f7ff77c23a7e92d3860754d  transmission.pre-install"