class Lyx < Cask
  url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.7/LyX-2.0.7+qt4.dmg'
  homepage 'http://www.lyx.org'
  version '2.0.7'
  sha1 '5c1b74645b20ffe85fc0a3c1d3aaf51ea8c9490f'
  link 'LyX.app'
end

class Lyx < Cask
  url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg'
  homepage 'http://www.lyx.org'
  version '2.0.6'
  sha1 '7fc3350afb6b5b9ebad04d6a1370ca8670b24e04'
  link 'LyX.app'
end

--- 
+++ 
@@ -1,7 +1,7 @@
 class Lyx < Cask
-  url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg'
+  url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.7/LyX-2.0.7+qt4.dmg'
   homepage 'http://www.lyx.org'
-  version '2.0.6'
-  sha1 '7fc3350afb6b5b9ebad04d6a1370ca8670b24e04'
+  version '2.0.7'
+  sha1 '5c1b74645b20ffe85fc0a3c1d3aaf51ea8c9490f'
   link 'LyX.app'
 end
Update LyX to version 2.0.7
