diff --git a/srcpkgs/arduino/patches/disable-dependency-build.patch b/srcpkgs/arduino/patches/disable-dependency-build.patch
index 390da3c3695..e9d3faec67f 100644
--- a/srcpkgs/arduino/patches/disable-dependency-build.patch
+++ b/srcpkgs/arduino/patches/disable-dependency-build.patch
@@ -1,11 +1,11 @@
---- build/build.xml.orig 2016-03-27 18:18:08.681227463 -0700
-+++ build/build.xml 2016-03-27 18:19:28.096229351 -0700
-@@ -425,17 +425,6 @@
+--- build/build.xml.orig 2016-12-29 08:09:30.185309472 -0700
++++ build/build.xml 2016-12-29 08:11:41.992661097 -0700
+@@ -449,17 +449,6 @@
--
--
+-
+-
-
-
-
@@ -15,16 +15,33 @@
-
-
-
-
-
-
-@@ -625,15 +614,6 @@
-
-
+
+
+
+@@ -491,16 +480,6 @@
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+
+
+
+@@ -648,15 +627,6 @@
+
+
+
-
--
--
+-
+-
-
-
-
@@ -34,44 +51,76 @@
-@@ -670,15 +650,6 @@
+@@ -673,15 +643,6 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+
+
+
+@@ -718,15 +679,6 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+
+
+
+@@ -750,15 +702,6 @@
-
-
--
--
--
--
+-
+-
+-
+-
+-
+-
-
--
--
-
-@@ -702,15 +673,6 @@
+
+@@ -782,15 +725,6 @@
-
-
--
--
--
--
+-
+-
+-
+-
+-
+-
-
--
--
-@@ -898,16 +860,6 @@
+@@ -987,16 +921,6 @@
--
--
+-
+-
-
-
-
@@ -80,6 +129,22 @@
-
-
-
-
-
-
+
+
+
+@@ -1070,15 +994,6 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+
+
+
diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template
index e7b0aeb1036..92b6387af30 100644
--- a/srcpkgs/arduino/template
+++ b/srcpkgs/arduino/template
@@ -1,6 +1,6 @@
# Template file for 'arduino'
pkgname=arduino
-version=1.6.8
+version=1.8.0
revision=1
hostmakedepends="apache-ant unzip ImageMagick openjdk"
depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude"
@@ -11,7 +11,7 @@ homepage="http://arduino.cc/"
distfiles="
https://github.com/arduino/Arduino/archive/${version}.tar.gz
${SOURCEFORGE_SITE}/astyle/astyle_2.05.1_linux.tar.gz"
-checksum="5b2e8b3115000986f12ebdc126162d22c2dc85b3ca9732b8f8966e6dcdf2edad
+checksum="221a81f6bafeb49c5a97e3e87e7be7d47afb038c819a4261459d1bc1cc693817
fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac"
nostrip=yes
wrksrc=Arduino-$version
@@ -34,7 +34,7 @@ do_build() {
x86_64*) LINUX_BUILD=linux64-build ;;
*) LINUX_BUILD=linux-build ;;
esac
- ant $LINUX_BUILD package-library-index-json-bundle
+ ant $LINUX_BUILD
sed -i -e "s#{runtime\.tools\.[^.]*\.path}#/usr#g" \
-e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \
linux/work/hardware/arduino/avr/platform.txt