What is the meaning of -maniac?

Indicating a person who experiences a type of compulsion or obsession.

Source: wiktionary.org