As of OS X El Capitan (10.11), this functionality is built in to the operating system. Go to System Preferences > General and turn on "Automatically hide and show the menu bar."
Here is how it works:
As of OS X El Capitan (10.11), this functionality is built in to the operating system. Go to System Preferences > General and turn on "Automatically hide and show the menu bar."
Here is how it works: