UNIX/Linux command-line tool to interact with an EWMH/NetWM

Current version

wmctrl requires the following formulae to be installed:
pkg-config 0.29.2 Manage compile and link flags for libraries
glib 2.54.3 Core application library for C
gettext GNU internationalization (i18n) and localization (l10n) library

Recent formula history

Viktor Szakats wmctrl: https in comment
Mike McQuaid wmctrl: import from homebrew/x11.

Formula code at GitHub