How about looking for a solenoid valve and wiring it to come on with the pump. Power up the pump and the valve opens, shut off the pump and the valve closes.

- Eric
_________________________
You are never beaten until you admit it. - - General George S. Patton