cask 'intellij-idea-next-eap' do version '2016.3,163.5219.11' sha256 '6e3d5072d8986c7dcb3a513f3d564ede684cf0b0b7fbbfd1896761e422ccc632' url "https://download.jetbrains.com/idea/ideaIU-#{version.after_comma}.dmg" name "IntelliJ IDEA #{version.major_minor} EAP" homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP" license :commercial auto_updates true app "IntelliJ IDEA #{version.before_comma} EAP.app" uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}", "~/Library/Preferences/IntelliJIdea#{version.major_minor}", ] end