It should be electrical. Mechanical gauges are not safe when you need to put an hot (100-120*C) and pressurized oil in to passenger compartment .
All stuff that have contact with oil should stay in engine compartment.
When you buy an electrical gauge - there will be a pressure sender, small "bubble" with membrane inside that converts physical oil pressure to electrical value for gauge