diff --git a/metadata/com.anysoftkeyboard.languagepack.example.txt b/metadata/com.anysoftkeyboard.languagepack.example.txt
index b598d687f9..664e230e6e 100644
--- a/metadata/com.anysoftkeyboard.languagepack.example.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.example.txt
@@ -11,7 +11,8 @@ Description:
Repo Type:git
Repo:https://github.com/AnySoftKeyboard/LanguagePack.git
-Build Version:1,1,!working template 5eabfc,forceversion=yes,patch=Example.patch,\
+Build Version:1,1,!working template: also see com.anysoftkeyboard.languagepack.hungarian (at 5eabfc),\
+forceversion=yes,patch=Example.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,\
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
sed -i 's/change_me/example/g' AndroidManifest.xml && \
diff --git a/metadata/com.anysoftkeyboard.languagepack.hungarian.txt b/metadata/com.anysoftkeyboard.languagepack.hungarian.txt
new file mode 100644
index 0000000000..c808d3063f
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.hungarian.txt
@@ -0,0 +1,35 @@
+Category:Office
+License:GPLv3
+Web Site:https://github.com/rhornig/anysoftkeyboard-hungarian
+Source Code:https://bitbucket.org/dalb8/anysoft-language-pack-hungarian
+Issue Tracker:https://github.com/rhornig/anysoftkeyboard-hungarian/issues
+
+Name:AnySoftKeyboard: Magyar
+Summary:Language pack for AnySoft keyboard
+Description:
+Layouts and dictionaries for the Hungarian language.
+.
+
+Repo Type:git
+#Original repo: the commented recipe below makes an error in fdroid
+#Repo:https://github.com/rhornig/anysoftkeyboard-hungarian
+Repo:https://bitbucket.org/dalb8/anysoft-language-pack-hungarian
+
+#Build Version:20120208,12,v20120208,\
+#patch=add-custom_rules.patch;add-icon.patch;dictionaries.patch,\
+#srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,\
+#prebuild=echo "android.library.reference.1=$$AnySoftKeyboard-API$$" >> project.properties && \
+#mkdir -p dict res/raw StoreStuff && mv dic/hu_HU-1.6.1.xml dict/words.xml && \
+#rm -rf assets/ dic/ && \
+#cp res/drawable/app_icon.png StoreStuff/landscape.png && \
+#cp res/drawable/app_icon.png StoreStuff/portrait.png && \
+#cp res/drawable/app_icon.png StoreStuff/store_hi_res_icon.png
+
+Build Version:20120208,12,987626b,\
+srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=mkdir -p res/raw
+
+Auto Update Mode:None
+Update Check Mode:None
+Current Version:1.0
+Current Version Code:1
+
diff --git a/metadata/com.anysoftkeyboard.languagepack.hungarian/add-custom_rules.patch b/metadata/com.anysoftkeyboard.languagepack.hungarian/add-custom_rules.patch
new file mode 100644
index 0000000000..8105931002
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.hungarian/add-custom_rules.patch
@@ -0,0 +1,70 @@
+diff --git a/custom_rules.xml b/custom_rules.xml
+new file mode 100644
+index 0000000..b5a2677
+--- /dev/null
++++ b/custom_rules.xml
+@@ -0,0 +1,63 @@
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+\ No newline at end of file
diff --git a/metadata/com.anysoftkeyboard.languagepack.hungarian/add-icon.patch b/metadata/com.anysoftkeyboard.languagepack.hungarian/add-icon.patch
new file mode 100644
index 0000000000..01d7d26e3a
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.hungarian/add-icon.patch
@@ -0,0 +1,94 @@
+diff --git a/res/xml-sw600dp/keyboards.xml b/res/xml-sw600dp/keyboards.xml
+index e5203d3..1db2924 100644
+--- a/res/xml-sw600dp/keyboards.xml
++++ b/res/xml-sw600dp/keyboards.xml
+@@ -12,6 +12,7 @@
+ -->
+
+
+
+
+
+
+
+
+
+-
+\ No newline at end of file
++
+diff --git a/res/xml/keyboards.xml b/res/xml/keyboards.xml
+index dda599d..59c5a5f 100644
+--- a/res/xml/keyboards.xml
++++ b/res/xml/keyboards.xml
+@@ -11,6 +11,7 @@
+ defaultEnabled := whether the layout is enabled by default
+ -->
+
+
+
+
+
+
+
+
+
+
+-
+\ No newline at end of file
++
diff --git a/metadata/com.anysoftkeyboard.languagepack.hungarian/dictionaries.patch b/metadata/com.anysoftkeyboard.languagepack.hungarian/dictionaries.patch
new file mode 100644
index 0000000000..04a43f16d4
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.hungarian/dictionaries.patch
@@ -0,0 +1,13 @@
+diff --git a/res/xml/dictionaries.xml b/res/xml/dictionaries.xml
+index a4e871f..61bbdcc 100644
+--- a/res/xml/dictionaries.xml
++++ b/res/xml/dictionaries.xml
+@@ -9,5 +9,5 @@
+ description := some text you would like to add.
+
+ -->
+-
+-
+\ No newline at end of file
++
++