Phenomenological electromagnetism with magnetic poles